package com.jovienne.web.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jovienne.web.member.entity.JoinParam;
import com.jovienne.web.member.entity.Member;
import com.jovienne.web.member.entity.RechargeParam;

import java.text.ParseException;

public interface MemberService extends IService<Member> {
    void addMember(Member member);
    void editMember(Member member);
    void deleteMember(Long memberId);

    void joinApply(JoinParam joinParam) throws ParseException;

    void recharge(RechargeParam param);

    //根据用户名查询会员
    Member loadUser(String username);
}
